package com.agent.service;

import java.util.List;

import com.agent.pojo.AsUser;

public interface AsUserService {
	public AsUser login(String code,String pass);
	
	public boolean updatePwd(Long id,String newPwd);

	public AsUser findUserOne(Long id);

	
	List<AsUser> query(AsUser user);
	
	Integer updateUser(AsUser user);
	
	Integer insertUser(AsUser user);
	
	Integer deleteUser(Long id);
	
	List<AsUser> getUserCode();
	
	AsUser getOne(Long id);
}
